#!/bin/sh

if [ -f /etc/hosts.basic ];then
    echo 'gipv6 update mode'
else
    echo 'gipv6 install mode' 
    cp /etc/hosts /etc/hosts.basic
    cat /etc/hosts.basic > /etc/hosts.miredo
    cat ./hosts.miredo >> /etc/hosts.miredo
fi